package com.example.examsystem2.mapper;

import com.example.examsystem2.entity.FillBlanksQuestions;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
@Mapper
public interface FillBlanksQMapper {


    int add_fill_blanks_question(FillBlanksQuestions fillBlanksQuestions);

    List<FillBlanksQuestions> get_fill_blanksQ_by_s_id(int s_id);

    int update_fill_blanksQ_by_fb_id(FillBlanksQuestions fillBlanksQuestions);

    int del_fill_blanksQ_by_fb_id(int fb_id);

    List<FillBlanksQuestions> get_question_by_s_id_and_level(Map<String, Object> map);

    FillBlanksQuestions get_fbq_by_fb_id(int fb_id);
}
